<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class MembershipProductsTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        

        \DB::table('membership_products')->delete();
        
        \DB::table('membership_products')->insert(array (
            0 => 
            array (
                'id' => 1,
                'name' => '月度会员',
                'type' => 'month',
                'duration' => 30,
                'price' => '4.90',
                'original_price' => '25.00',
                'icon' => '⭐',
                'purchase_url' => 'https://dwz.cn/Sem3CFZn',
                'is_featured' => 0,
                'badge' => NULL,
                'sort_order' => 10,
                'is_active' => 1,
                'created_at' => '2025-06-27 00:03:57',
                'updated_at' => '2025-06-27 00:03:57',
                'deleted_at' => NULL,
            ),
            1 => 
            array (
                'id' => 2,
                'name' => '年度会员',
                'type' => 'year',
                'duration' => 365,
                'price' => '19.90',
                'original_price' => '198.00',
                'icon' => '💎',
                'purchase_url' => 'https://dwz.cn/icihMKl9',
                'is_featured' => 0,
                'badge' => NULL,
                'sort_order' => 20,
                'is_active' => 1,
                'created_at' => '2025-06-27 00:03:57',
                'updated_at' => '2025-06-27 00:03:57',
                'deleted_at' => NULL,
            ),
            2 => 
            array (
                'id' => 3,
                'name' => '终身会员',
                'type' => 'permanent',
                'duration' => NULL,
                'price' => '29.90',
                'original_price' => '598.00',
                'icon' => '👑',
                'purchase_url' => 'https://dwz.cn/Y8NoGMW3',
                'is_featured' => 1,
                'badge' => '超值',
                'sort_order' => 30,
                'is_active' => 1,
                'created_at' => '2025-06-27 00:03:57',
                'updated_at' => '2025-06-27 00:03:57',
                'deleted_at' => NULL,
            ),
        ));
        
        
    }
}